package com.utils.result;

/**
 * @author xufan
 */

public enum ReturnCode {
    NOT_LOGIN("401","1","未登录"),
    SUCCESS ("200","1","成功"),
    FAIL ("500","2","网络开小差"),
    ACCESS_ERROR ("403","1","禁止访问"),
    NOT_FOUND ("404","1","接口未发现");
    ;
    private String code;
    private String desc;
    private String status;

    ReturnCode(String code, String status, String desc) {
        this.code = code;
        this.desc = desc;
        this.status = status;
    }

    public String getCode() {
        return code;
    }

    public void setCode(String code) {
        this.code = code;
    }

    public String getDesc() {
        return desc;
    }

    public void setDesc(String desc) {
        this.desc = desc;
    }

    public String getStatus() {
        return status;
    }

    public void setStatus(String status) {
        this.status = status;
    }
}
